<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
	<head>
		<title>${projeto.nome}: Matriz</title>
	</head>
	<body>
		<%@include file="painel-requisito.jsp" %>
		<div class="view-requisito full-height">
			<fieldset>
				<legend>Tipos de requisitos:</legend>
				
				<form method="post" action="/requisiteworks/requisito/${projeto.numero}/matriz.do">
				
					<table>
						<tr>
							<td><label>Linha</label></td>
							<td>&#160;</td>
							<td><label>Coluna</label></td>
						</tr>
						<tr>
							<td>
								<select name="tipo1">
									<c:forEach items="${tipoRequisitoList}" var="t">
										<option value="${t.numero}">${t.nome}</option>
									</c:forEach>
								</select>
							</td>
							<td>&#160;X&#160;</td>
							<td>
								<select name="tipo2">
									<c:forEach items="${tipoRequisitoList}" var="t">
										<option value="${t.numero}">${t.nome}</option>
									</c:forEach>
								</select>
							</td>
						</tr>
					</table>
					<input type="submit" value="Gerar"/>
				</form>
			</fieldset>
		</div>
	</body>
</html>